package com.pro.common.api.model.request.pay;

import com.pro.common.api.enums.EnumPaymentResponseType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "支付响应信息")
@Builder
public class PaymentResponse {

    @Schema(description = "卡号类型，如 alipay、wechat、stripe 等")
    private String payMethod;

    @Schema(description = "支付响应类型，标识返回内容的类型")
    private EnumPaymentResponseType type;

    @Schema(description = "支付跳转链接、二维码内容、SDK参数等")
    private String value;

    @Schema(description = "支付链接或二维码的过期UTC时间戳", example = "英国时间_1622534400000")
    private Long expireTime;

    @Schema(description = "支付单号")
    private String no;

    @Schema(description = "订单金额")
    private BigDecimal orderAmount;
}
